package com.rfid.listener;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import com.rfid.client.Client;
import com.rfid.service.RFIDReadInfoService;

public class SettingListener implements ActionListener {
	
	private Client client;
	
	public SettingListener(Client client) {
		super();
		this.client = client;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		RFIDReadInfoService service = RFIDReadInfoService.getInstance();
		if(!service.getState()) {
			client.getSetClient().setVisible(true);
		}
	}

}
